package com.zrkj.service;
import java.util.List;
import com.zrkj.entity.vo.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zrkj.entity.TSysUserRole;

/**
 * @author : 国良
 * @className : ITSysUserRoleService
 * @package: com.ha.service
 * @description : 用户关联角色表 服务接口
 * @date :  2021-05-14
 */
public interface ITSysUserRoleService extends IService<TSysUserRole> {
/**
 * 添加
 *
 * @param tSysUserRole
 * @return
 */
        Result<String> add(TSysUserRole tSysUserRole);

/**
 * 更新
 *
 * @param tSysUserRole
 * @return
 */
        Result<Boolean> update(TSysUserRole tSysUserRole);

/**
 * 删除
 *
 * @param idList
 * @return
 */
        Result<Boolean> delete(List<Long> idList);

/**
 * 查询详情
 *
 * @param id
 * @return
 */
        Result<TSysUserRole> getById(Long id);

/**
 * 查询列表
 *
 * @param tSysUserRole
 * @return
 */
        Result<List<TSysUserRole>>queryList(TSysUserRole tSysUserRole);

        }
